<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login Administrator Phongcachgo.com</title>
<style type="text/css">
	* {margin: 0px;padding: 0px;color:blue;}
	body{
		background: #FFFFFF url(../images/background.jpg);
		font-family: Tahoma, Arial, Helvetica, sans-serif;
		font-size: 12px;
	}
	div#container{
		width:100%;height:100%;
		position:absolute;
		top:0px;left:0px;
		z-index:2;
	}
	div#formInput{
		border:1px solid black; 
		width:400px;
		height:250px;
		background-color:white;
		-moz-border-radius: 15px;
		border-radius: 15px;
		opacity:.4;
		position:absolute;
		top:32%;left:32%;
	}
	div#contentInput{
		width:400px;
		height:250px;
		-moz-border-radius: 15px;
		border-radius: 15px;
		position:absolute;
		top:32%;left:32%;
		padding-top:10px;
		opacity:.8; 	
	}
	a{
		padding-right:10px;
		text-decoration:none; 
	}
	a:hover{
		padding-right:10px;
		text-decoration:underline;
	}
	.label {
		font-size:14px;
		font-weight: bold; 
	}
</style>
</head>
<body>
<div style="position:absolute;top:0px;right:10px;z-index:4">&nbsp;&nbsp;&nbsp; <a href="#" ><b>Quên mật khẩu</b></a></div>
<div id="container">
	<div id="formInput"></div>
	<div id="contentInput">
		<center>
		<img alt="avatar" style="float:left;" src="../images/iconuser.png"><br/>
		<s:form action="loginAdmin" method="post" theme="simple">
		<table >
			<tr>
				<td colspan="2"><h2>Đăng nhập trang quản trị</h2></td>
			</tr>
			<tr>
				<td colspan="2" height="30px">&nbsp;</td>
			</tr>
			<tr>
				<td>Tên đăng nhập:</td>
				<td><s:textfield name="user.username"/></td>
			</tr>
			<tr>
				<td>Mật khẩu:</td>
				<td><s:password name="user.password" /></td>
			</tr>
			<tr>
				<td colspan="2">
					<s:submit value="Đăng nhập" align="center" />
					<s:reset value="Nhập lại" align="center"/>
				</td>
			</tr>
		</table>
		</s:form>
		</center>
	</div>
</div> 
</body>
</html>